package com.wss.service.user.config;

import org.springframework.security.config.annotation.SecurityConfigurerAdapter;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.web.DefaultSecurityFilterChain;
import org.springframework.stereotype.Component;

/**
 * openId的相关处理配置
 *
 */
@Component
public class OpenIdAuthenticationSecurityConfig extends SecurityConfigurerAdapter<DefaultSecurityFilterChain, HttpSecurity> {
//    @Resource
//    private ZltUserDetailsService userDetailsService;
//
//    @Override
//    public void configure(HttpSecurity http) {
//        //openId provider
//        UserIdAuthenticationProvider provider = new UserIdAuthenticationProvider();
//        provider.setUserDetailsService(userDetailsService);
//        http.authenticationProvider(provider);
//    }
}

